package com.yuke.cloud.service.cmc.dao;

import com.yuke.cloud.common.core.mybatis.MyMapper;
import com.yuke.cloud.service.api.cmc.dto.CmsTopicDto;
import com.yuke.cloud.service.cmc.entity.CmsAppTopic;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CmsAppTopicMapper extends MyMapper<CmsAppTopic> {

    int updateList(List<CmsAppTopic> cmsAppTopics);
    List<CmsAppTopic> getByTopicCondition(@Param("cmsAppTopic") CmsAppTopic cmsAppTopic);
    List<CmsAppTopic> getListDetailByCondition(@Param("cmsAppTopic")CmsAppTopic cmsAppTopic);
    List<CmsTopicDto> getTopicInfoByTopicIds(@Param("topicIds") List<Long> topicIds);
}